home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / alsa / pcm / dsnoop.conf < prev    next >
Text File  |  2006-01-09  |  1KB  |  87 lines

  1. #
  2. # dsnoop
  3. #
  4.  
  5. pcm.!dsnoop {
  6.     @args [ CARD DEV SUBDEV FORMAT RATE ]
  7.     @args.CARD {
  8.         type string
  9.         default 0
  10.     }
  11.     @args.DEV {
  12.         type string
  13.         default 0
  14.     }
  15.     @args.SUBDEV {
  16.         type string
  17.         default -1
  18.     }
  19.     @args.FORMAT {
  20.         type string
  21.         default S16
  22.     }
  23.     @args.RATE {
  24.         type integer
  25.         default 48000
  26.     }
  27.     type dsnoop
  28.     ipc_key 5778293
  29.     ipc_gid audio
  30.     ipc_perm 0660
  31.     slave {
  32.         pcm {
  33.             type hw
  34.             card $CARD
  35.             device $DEV
  36.             subdevice $SUBDEV
  37.         }
  38.         format $FORMAT
  39.         rate $RATE
  40.         period_size {
  41.             @func refer
  42.             name {
  43.                 @func concat
  44.                 strings [
  45.                     "cards."
  46.                     {
  47.                         @func card_driver
  48.                         card $CARD
  49.                     }
  50.                     ".pcm.dsnoop.period_size"
  51.                 ]
  52.             }
  53.             default 1024
  54.         }        
  55.         period_time {
  56.             @func refer
  57.             name {
  58.                 @func concat
  59.                 strings [
  60.                     "cards."
  61.                     {
  62.                         @func card_driver
  63.                         card $CARD
  64.                     }
  65.                     ".pcm.dsnoop.period_time"
  66.                 ]
  67.             }
  68.             default -1
  69.         }        
  70.         periods {
  71.             @func refer
  72.             name {
  73.                 @func concat
  74.                 strings [
  75.                     "cards."
  76.                     {
  77.                         @func card_driver
  78.                         card $CARD
  79.                     }
  80.                     ".pcm.dsnoop.periods"
  81.                 ]
  82.             }
  83.             default 16
  84.         }
  85.     }
  86. }
  87.